package com.gxa.hotel.portal.thread;

import org.springframework.stereotype.Component;

@Component
public class UserThreadLocal {

    private static ThreadLocal threadLocal=new ThreadLocal();


    public void set(Object object){
        threadLocal.set(object);
    }
    public static Object get(){
       return threadLocal.get();
    }
    public void remove(){
        threadLocal.remove();
    }
}
